<template>
	<view class="warp">
		<view class="uni-margin-wrap uni-margin-wrap-view">
			<view class="uni-item-view" v-for="(item,index) in list" :key="index">
				<view class="uni-item-view-list" >
					<text class="text">{{item.title}}</text>
				</view>
				<view class="uni-item-view-list" >
					<text class="text1">{{item.huida}}</text>
				</view>
			</view>
		</view>
		 <loading-cover ref="loadingCover"></loading-cover>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[],
			}
		},
		onLoad() {
			this.getData();
		},
		methods: {
			getData(){
				this.$refs.loadingCover.show();
				var data = {
					type:'3',
				}
				this.http.sendRequest({
					api: this.api.mine.mineComplaintProblemApi,
					data: data,
					success: res => {
						if (res.success == 'true' && res.data) {
							this.list = res.data;
						}
						if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
					},
					fail: res => {
						if (this.$refs.loadingCover) this.$refs.loadingCover.hide();
					}
				});
			}
		}
	}
</script>


<style lang="scss">
	.uni-margin-wrap-view{
		background-color: #fff;
	}
	.uni-item-view{
		width: 100%;
		height: 100%;
		padding-top: 20rpx;
		padding-bottom: 20rpx;
		position: relative;
		.uni-item-view-list{
			width: 100%;
			padding-left: 32rpx;
			padding-right: 32rpx;
			.text{
				font-size: 28rpx;
				color: #555;
			}
			.text1{
				font-size: 24rpx;
				color: #888;
				padding-top: 32rpx;

			}
		}
	}
	.uni-item-view:after{
		position: absolute;
		z-index: 3;
		right: 0;
		bottom: 0;
		left: 30rpx;
		height: 1px;
		content: '';
		-webkit-transform: scaleY(.5);
		transform: scaleY(.5);
		background-color: $uni-bottom-line-color;
	}
</style>
